<?php

# PMB Online
# Aplikasi PMB Online untuk Pendaftaran Calon Mahasiswa di PT/PTS Indonesia
# 
# version 1.0
# class biaya_add
# file
# created Feb 6, 2013 4:13:40 PM
# 
# (c)2012, arif.laksito@gmail.com

if (!defined('BASEPATH'))
    exit('No direct script access allowed');
?>
<h3><?php echo $head?></h3>
<ul class="breadcrumb">
    <li>PMB Online <span class="divider">/</span></li>  
    <li>Data Master <span class="divider">/</span></li>
    <li><?php echo $head?></li>
</ul>

<?php if (isset($msg)): ?>
    <div class="<?php echo ($sts) ? 'alert alert-success' : 'alert alert-error' ?>">
        <?php echo $msg ?>
    </div>
<?php endif ?>

<form action="" method="post">
    <label>Pilih Gelombang</label>
    <select name="id_gel">
        <option value="0">--Pilih Gelombang--</option>
        <?php foreach($gel as $g):?>
        <?php $e = ($post['id_gel']==$g['id_gel'])?"selected='selected'":""?>
        <option <?php echo $e?> value="<?php echo $g['id_gel']?>"><?php echo $g['nama_gel']?></option>
        <?php endforeach?>
    </select>
    
    <label>Pilih Jurusan</label>
    <select name="id_jurusan">
        <option value="0">--Pilih Jurusan--</option>
        <?php foreach($jur as $j):?>
        <?php $s = ($post['id_jurusan']==$j['id_jurusan'])?"selected='selected'":""?>
        <option <?php echo $s?> value="<?php echo $j['id_jurusan'] ?>"><?php echo $j['jenjang'].' '.$j['nama_jurusan']?></option>
        <?php endforeach?>
    </select>
    
    <label>Biaya SPA</label>
    <input type="text" name="spa" class="input-medium" value="<?php echo $post['spa']?>"/>
    
    <label>Biaya OKA</label>
    <input type="text" name="oka" class="input-medium" value="<?php echo $post['oka']?>"/>
    
    <label>Beasiswa</label>
    <input type="text" name="beasiswa" class="input-medium" value="<?php echo $post['beasiswa']?>"/>
    
    <label></label>
    <button class="btn btn-small btn-success">Simpan</button>
    
</form>